#ifndef AIRMOUSE_H
#define AIRMOUSE_H

#include "Leap.h"

using namespace Leap;

class AirMouse : public Listener
{
private:
    int64_t circleduty;
    int circlemax;
    int modus;
    float velovariable;
    float normalvariable;
    float basefactor;
    float calculatebase(float i);

public:
    AirMouse();
    virtual void onInit(const Controller&);
    virtual void onConnect(const Controller&);
    virtual void onDisconnect(const Controller&);
    virtual void onExit(const Controller&);
    virtual void onFrame(const Controller&);
    virtual void onFocusGained(const Controller&);
    virtual void onFocusLost(const Controller&);
    void setModus(int modu);
    void setvelovariable(float i);
    void setnormalvariable(float i);
    void setbasefactor(float i);
};

#endif // AIRMOUSE_H
